package com.itheima.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;


// @Configuration  此类用来提到ApplicationContext.xml配置文件
//配置类
@Configuration  //声明此类就是配置类
@ComponentScan(basePackages = "com.itheima")  //包扫描
@EnableAspectJAutoProxy
@Import(DaoConfig.class)
public class MyConfig {

}
